package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_trade_war_building_reward", desc = "商战建筑奖励日志", autoSave = true, uploadCk = true)
public class LogTradeWarBuildingReward extends ServerBaseLog {
	@FieldTypeAnnotation(desc = "用户id", isIndex = true)
	private long userId;
	@FieldTypeAnnotation(desc = "类型")
	private int type;
	@FieldTypeAnnotation(desc = "奖励")
	private String reward;
	@FieldTypeAnnotation(desc = "是否特权卡自动收获")
	private boolean isCardGet;

	public LogTradeWarBuildingReward(long userId, int type, String reward, boolean isCardGet) {
		this.userId = userId;
		this.type = type;
		this.reward = reward;
		this.isCardGet = isCardGet;
	}

	public long getUserId() {
		return userId;
	}
}
